package org.clipjoint.dao;

import org.clipjoint.entity.dto.CommentDto;
import org.clipjoint.entity.Comment;

import java.sql.SQLException;
import java.util.List;

public interface CommentAdminDao {
    List<Comment> selectAll(CommentDto commentDto) throws SQLException;

    Long selectCount(CommentDto commentDto) throws SQLException;

    int deleteById(Long id) throws SQLException;

    Comment selectOne(CommentDto build) throws SQLException;

    List<Comment> show(Long gameid) throws SQLException;

    int add(Comment comment) throws SQLException;
}
